// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import frame from './frame'
import router from './router'
import store from './store'
import '@/components/global'
import * as api from './api/api'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
// import axios from 'axios'
Vue.use(ElementUI)
// Vue.prototype.axios = axios
Vue.prototype.HTTP = '/api'
Vue.prototype.$api = api
Vue.config.productionTip = false
new Vue({
    el: '#app',
    router,
    store,
    components: {
        frame
    },
    template: '<frame/>'
})
